<include file="Public:head" />
<include file="Public:header" />
<include file="Public:left" />
<section id='content'>
    <div class='container-fluid'>
        <div class='row-fluid' id='content-wrapper'>
            <div class='span12'>
                <div class='row-fluid'>
                    <div class='span12'>
                        <div class='page-header'>
                            <h1 class='pull-left'>
                                <i class='icon-ok'></i>
                                <span>添加品牌</span>
                            </h1>
                        </div>
                    </div>
                </div>
                <div class='row-fluid'>
                    <div class='span12 box'>
                        <div class='box-header blue-background'>
                            <div class='title'>添加品牌</div>
                        </div>
                        <div class='box-content'>
                            <form class='form form-horizontal validate-form' style='margin-bottom: 0;' action="{:U('Brand/add_brand')}" method="post" enctype="multipart/form-data"/>
                                <div class='control-group'>
                                    <label class='control-label' for='company_agent'>品牌名称</label>
                                    <div class='controls'>
                                        <input data-rule-minlength='2' data-rule-required='true' id='brand_name' name='brand_name' placeholder='品牌名称' type='text' />
                                    </div>
                                </div>
                                <div class='control-group'>
                                    <label class='control-label' for='company_agent'>品牌logo</label>
                                    <div class='controls'>
                                        <input title="上传品牌logo" type="file" style="left: -100px; top: 1px;" name="brand_ico">
                                    </div>
                                   
                                </div>
								
                                <div class='control-group'>
                                    <label class='control-label' for='company_name'>品牌介绍</label>
                                    <div class='controls'>
                                        <textarea id="brand_intro" placeholder="Textarea" rows="3" name="brand_intro"></textarea>
                                    </div>
                                </div>
								
                                <div class='form-actions' style='margin-bottom:0'>
                                    <button class='btn btn-primary' type='submit'>
                                        <i class='icon-save'></i>
                                        添加品牌
                                    </button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
                
            </div>
        </div>
    </div>
</section>
</div>
<include file="Public:bottom" />
<script type="text/javascript">
    $(document).ready(function () {
		$("ul[class='nav nav-stacked']").removeClass('in');
		$("#brand").addClass('in');
		$("li[class='guan']").removeClass('active');
		$("#add_brand").addClass('active');
		
    });
</script>